package com.wp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: WangPeng
 * @createTime: 2023/01/03 11:33
 * @description:
 * @version: v1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "permission")
public class Permission {

    @TableId(type= IdType.AUTO,value = "perid")
    private Integer perId;

    @TableField(value = "pername")
    private String perName;

    @TableField(value = "percode")
    private String perCode;


}
